#include<iostream>
using namespace std;
int milength();
int main ()
{
    string cad;
    cin>>cad;
    milength();
}
int milength()
{
    int i;
    string cad;
    i=0;

    while(cad[i]!='/0')
    {
        i++;
    }
    cout<<i;
    return i;
}

